#!/bin/bash
#SBATCH -n 1
#SBATCH --mem=2G
#SBATCH --mail-type=ALL
#SBATCH --time=94:00:00

phenos=(Platelet MCV Height BMI DBP SBP WBC RBC Hemoglobin Hematocrit MCH MCHC Lymphocyte Monocyte Neutrophil Eosinophil Basophil Urate Cholesterol Triglyceride LDL HDL EGFR HBA1C CRP) 

python2 ../ldsc.py --h2 sumstats/eas.${phenos[$SLURM_ARRAY_TASK_ID]}.sumstats.gz --ref-ld-chr eas_ldscores/ --w-ld-chr 1000G_Phase3_EAS_weights_hm3_no_MHC/weights.EAS.hm3_noMHC. --out output_trickunildsc/${phenos[$SLURM_ARRAY_TASK_ID]} --print-coefficients
python2 ../ldsc.py --h2 sumstats/eas.${phenos[$SLURM_ARRAY_TASK_ID]}.sumstats.gz --ref-ld-chr unild_meld_scores/merged. --w-ld-chr 1000G_Phase3_EAS_weights_hm3_no_MHC/weights.EAS.hm3_noMHC. --overlap-annot --chisq-max 1000 --out output_bivariateldsc/${phenos[$SLURM_ARRAY_TASK_ID]} --print-coefficients

